﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/PersonForJob.Master"
    Inherits="System.Web.Mvc.ViewPage<IEnumerable<FzWeb.Models.Post>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    SearchPostDetailList
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="leftinfo">
        <div class="tempter">
            <div class="nrkuan">
                <div class="title jlinfos">
                    <div class="nameinfo">
                                        <div  style="float:left">
                            <span class="names names2">搜索器搜索结果</span>
                        </div>
                        <div style="float:left">
                        <span class="or"><a href="<%=Url.Action("SearchPost","Person") %>"">
                                            查看：列表</a></span></div>
                        
                    </div>
                </div>
                 <% foreach (var item in Model)
                    { %>
                <table id="rpJob_ctl06_tbJob" border="0" align="center" cellpadding="0" cellspacing="0"
                    class="jobslist">
                    <tr>
                        <td width="26" valign="top">
                            <input type="checkbox" name="Input" value="" />
                        </td>
                        <td width="840" valign="top">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td height="27" class="jobtitname">
                                        <div style="float: right; width: 400px;">
                                            岗位性质：<%= item.Type%>
                                            | 工作地<span class="gary"><%= item.WorkLocation%></span> 
                                            | 工作经验：<span class="gary"><%= item.WorkYear%></span>
                                            | 发布时间：<span class="gary"><%= string.Format("{0:d}", item.StartDate)%></span>
                                        <a href="<%= Url.Action("PostDetail",new { id = item.PostId})%>" target="_blank" class="link01"><font color='red'><%= item.Name %></font>&nbsp;</a>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="27">
                                        <a href="<%= Url.Action("CompanyDetail",new { id = item.PostId})%>" target="_blank" class="link01"><%= item.Company.Name %></a>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="27">
                                        <div style="word-break: break-all; overflow: hidden;">
                                           <%= item.Describe%>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td width="98" align="center" valign="middle">
                            <input  type="button" class="apply" value="立即申请" onclick="IndexApplyPosts(<%=item.PostId%>)" />
                        </td>
                    </tr>
                </table>
                <%} %>
                <table border="0" align="center" cellpadding="0" cellspacing="0" style="padding: 9px 0 10px 0;">
                    <tr>
                    <td align="middle">
                    <%= Html.RenderPagerBar(Convert.ToInt32(ViewData["pageIndex"]),Convert.ToInt32(ViewData["pageCount"])) %>
                </td>
                    </tr>
                </table>
            </div>
        </div>
        <table style="width: 100%; border: 0px;" cellpadding="5" cellspacing="0">
            <tr>
                <td align="right">
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
